package com.pipi.sso.core.service;

import com.pipi.sso.core.model.NoticeBO;
import com.pipi.sso.dao.support.PageResult;

import java.util.List;

/**
 * All rights Reserved, Designed By www.maihaoche.com
 *
 * @Package com.pipi.sso.core.service
 * @date: 2019/4/15 9:55 AM
 * @Copyright: 2017-2020 www.maihaoche.com Inc. All rights reserved.
 */
public interface NoticeService {

    /**
     * <p> 分页条件查询 </p>
     * @param noticeBO
     * @return PageResult<NoticeBO>
     * @throws
     * @date 2019/4/15 9:56 AM
     */
    PageResult<NoticeBO> queryByPaged(NoticeBO noticeBO);

    /**
     * <p> 条件查询 </p>
     * @param noticeBO
     * @return List<NoticeBO>
     * @throws
     * @date 2019/4/15 9:56 AM
     */
    List<NoticeBO> queryNoPaged(NoticeBO noticeBO);

    /**
     * <p> 添加公告信息 </p>
     * @param noticeBO
     * @return void
     * @throws
     * @date 2019/4/15 10:23 AM
     */
    void addNotice(NoticeBO noticeBO);

    /**
     * <p> 修改公告 </p>
     * @param noticeBO
     * @return void
     * @throws
     * @date 2019/4/15 10:24 AM
     */
    void updateNotice(NoticeBO noticeBO);

    /**
     * <p> 删除公告 </p>
     * @param noticeIds
     * @return void
     * @throws
     * @date 2019/4/15 10:24 AM
     */
    void deleteNotice(List<Long> noticeIds);
}
